package cz.data.common.database.utils;

import org.springframework.jdbc.core.BatchPreparedStatementSetter;

public abstract class BatchSizeStatementSetter implements BatchPreparedStatementSetter {
    private final int size;

    public BatchSizeStatementSetter(int size) {
        this.size = size;
    }

    @Override
    public int getBatchSize() {
        return this.size;
    }
}
